package com.stormrage.entity.learn.rep;

import java.io.Serializable;

public class LeaStudentCourseRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 6769467910461558448L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String course;

	private String percent;

	private Integer count;

	// ------------------------------- Fields -------------------------------

	public LeaStudentCourseRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStudentCourseRep instance(LeaStudentCourseRep entity, Integer seq, String percent, Integer count) {
		entity.setSeq(seq);
		entity.setPercent(percent);
		entity.setCount(count);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " course - " + course + " percent - " + percent
				+ " count - " + count;
	}

}
